using System;

namespace IBNet
{
   /// <summary>
   /// One cancels all types
   /// </summary>
   public enum OneCancelsAllType 
   {
      Undefined = 0,
      /// <summary>
      /// 1 = Cancel all remaining orders with block.
      /// </summary>
      CancelAll = 1,
      /// <summary>
      /// 2 = Remaining orders are proportionately reduced in size with block.
      /// </summary>
      ReduceWithBlock = 2,
      /// <summary>
      /// 3 = Remaining orders are proportionately reduced in size with no block.
      /// </summary>
      ReduceWithNoBlock = 3
   }
}